﻿
<%@ Page Title="" Language="C#" MasterPageFile="~/template.Master" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="TravelExpertsASP.index" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<!--This is the home page -->
<div id="imageBanner" class="row">
<h2 class="hero">Hot Deals!
    <span class="phone">Call 1.555.555.5555</span><span class="now">Now!</span></h2>
    <div id="searchBox" class="span4 first">
    <!--+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 If we have a homepage search box for packages it can go here...right after the bottom line.
 _____________________________________________________________________________________________________________________-->
        <h2>Free Rail Pass<span>With the Purchase of our European Vacation</span></h2>
    </div>
</div>
<div id="packagesList" class="row">
<!--+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 The feature packages list on the home page can go here...right after the bottom line.
 _____________________________________________________________________________________________________________________-->
 <!-- 
 Author:Jignesh Chaudhari  
 Written: 2013-Jan 20
 Purpose: Showing feature packages on home page, list view coding and data binding
 -->
 <h2 class="PageTitle">Feature Vacations</h2>
    <asp:ListView ID="lstViewPkgs" runat="server"  GroupItemCount="4" GroupPlaceholderID="groupPlaceHolder1"
    ItemPlaceholderID="itemPlaceHolder1" 
        onselectedindexchanged="lstViewPkgs_SelectedIndexChanged">
    <LayoutTemplate>
        <div class="row container" id="FeatureRow" runat="server">
            <asp:PlaceHolder runat="server" ID="groupPlaceHolder1"></asp:PlaceHolder>
        </div>
    </LayoutTemplate>
    <GroupTemplate>
        <div>
            <asp:PlaceHolder runat="server" ID="itemPlaceHolder1"></asp:PlaceHolder>
        </div>
    </GroupTemplate>
    <ItemTemplate>
        <div class="span4 FeatureBlock" runat="server">
       
                            <h3><%# Eval("PkgName")%></h3>
                            <p class="desc"><%# Eval("PkgDesc")%></p>
                            <p class="trip-date"><strong>Start date: </strong><%# Eval("PkgStartDate")%></p>
                            <p class="trip-date"><strong>End date: </strong><%# Eval("PkgEndDate")%></p>
                            <p class="price"><%#"$"+Eval("PkgBasePrice")%></p>
                            <a href="#" class="LearnMore">Learn More</a>
        </div>
    </ItemTemplate>
</asp:ListView>

</div><!--End of feature packages.-->
</asp:Content>

